package com.dic.dao;

import java.util.HashMap;
import java.util.List;

import com.dic.dao.model.Worddictionary;

public interface WorddictionaryDao {
	public List<String> getSubjectNum(String subject);
	public int updateCompiler(HashMap hm);
	public List<Integer> finishcondition(String subject);
	public List<Integer> passcondition(String subject);
	public List<String> getFinishWordList(HashMap hm);
	public List<String> getPassWordList(HashMap hm);
	public Worddictionary getWord(HashMap hm);
	public int updateWord(Worddictionary worddic);
	public int updateWordManage(HashMap hm);
	public List<Worddictionary> getCompilerTask(String compiler);
	public List<Integer> workerfinishcondition(String compiler);
	public List<Integer> workerpasscondition(String compiler);//后面的几个函数都不要写了，只要把subject设为“所有”就行
}